import request from '@/utils/request'

// 查询理化检验列表
export function listNcPhysicalChemicalAnalysis(query) {
  return request({
    url: '/business/NcPhysicalChemicalAnalysis/list',
    method: 'get',
    params: query
  })
}

// 查询理化检验详细
export function getNcPhysicalChemicalAnalysis(id) {
  return request({
    url: '/business/NcPhysicalChemicalAnalysis/' + id,
    method: 'get'
  })
}

// 新增理化检验
export function addNcPhysicalChemicalAnalysis(data) {
  return request({
    url: '/business/NcPhysicalChemicalAnalysis',
    method: 'post',
    data: data
  })
}

// 修改理化检验
export function updateNcPhysicalChemicalAnalysis(data) {
  return request({
    url: '/business/NcPhysicalChemicalAnalysis',
    method: 'put',
    data: data
  })
}

// 删除理化检验
export function delNcPhysicalChemicalAnalysis(id) {
  return request({
    url: '/business/NcPhysicalChemicalAnalysis/' + id,
    method: 'delete'
  })
}
